﻿{extend name="public:base" /}
{block name="content"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <a href="{:url('doJob')}" type="button" class="btn btn-primary btn-lg">新增</a>

                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                    </div>
                </div>

                <div class="ibox-content">

                    <div class="table-responsive">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th>姓名</th>
                                <th>证书编号</th>
                                <th>性别</th>
                                <th>出生地点</th>
                                <th>批准日期</th>
                                <th>证件号码</th>
                                <th>专业名称</th>
                                <th>专业等级</th>
                                <th>发证单位</th>
                                <th>二维码</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            {volist name="list" id="vo"}
                            <tr>
                                <td style="padding-top: 43px">{$vo.name}</td>
                                <td style="padding-top: 43px">{$vo.no}</td>
                                <td style="padding-top: 43px">{$vo.sex}</td>
                                <td style="padding-top: 43px">{$vo.province_name}</td>
                                <td style="padding-top: 43px">{$vo.ratify_date}</td>
                                <td style="padding-top: 43px">{$vo.number}</td>
                                <td style="padding-top: 43px">{$vo.job_name}</td>
                                <td style="padding-top: 43px">{$vo.job_level}</td>
                                <td style="padding-top: 43px">{$vo.send_company}</td>
                                <td><img src="{$vo.qr}" width="100px" height="100px"></td>
                                <td class="project-actions" style="padding-top: 38px">
                                    <a href="{:url('doJob', ['id' => $vo['id']])}" class="btn btn-white btn-sm"><i class="fa fa-edit"></i> 编辑 </a>
                                    <a href="{:url('delJob', ['id' => $vo['id']])}" class="btn btn-white btn-sm ajax-del"><i class="fa fa-trash-o"></i> 删除 </a>
                                </td>
                            </tr>
                            {/volist}
                            </tbody>
                        </table>
                        {$list->render()}
                    </div>

                </div>
            </div>
        </div>

    </div>
</div>

{/block}

